    /********************************************************/
    /*                                                      */
    /*                                                      */
    /*         Copyright (C), 1993  SEIKO EPSON Corp.       */
    /*         ALL RIGHTS RESERVED                          */
    /*                                                      */
    /*                                                      */
    /*  file name : fgetc.c                                 */
    /*                                                      */
    /*  Revision history                                    */
    /*      93/12/17    first release       S.Akaiwa        */
    /*      97/3/17	modified	    T.Katahira	    */
    /*			change function declaration	    */
    /*					to the ANSI style   */
    /*                                                      */
    /********************************************************/

#ifdef  UNIX
#include    "stdio.h"
#else
#include    <stdio.h>
#endif

int
fgetc(FILE * fiStrmP)

    /********************************************************/
    /*                                                      */
    /*  The fgetc function reads a single character from    */
    /*  stream pointed to by fiStrmP.                       */
    /*  If stdin is not specified by fiStrmP, the fgetc     */
    /*  function returns EOF.                               */
    /*                                                      */
    /*      RETURN  Except EOF  ... The character read      */
    /*              EOF         ... Error                   */
    /*                                                      */
    /*  <ANSI>                                              */
    /*      The fgetc function reads a single character     */
    /*      from user specified stream.                     */ 
    /*                                                      */
    /*      RETURN  Except EOF  ... The character read      */
    /*              EOF         ... Error                   */
    /*                                                      */
    /********************************************************/

    /* FILE    *fiStrmP    ;       pointer to target stream */
    {
                            /* reads a character from stdin */
     return (int)getc(fiStrmP);

    }

